home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2119 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Wed, 24 Jan 96 21:01:29 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: C2P
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.48y9@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 19 Jan 96 Jorge Acereda Macia wrote to All:
  14.  
  15.  >> after having counted the scanlines the effect needs, (by measuring the
  16.  >> hight of it on the TV! :D) you calculate 
  17.  
  18.  >> time= (measured_height/height_of_wbscreen)*(256/312.5)*20ms
  19.  
  20.  JAM> Why don't you use ReadEClock()? 
  21.  
  22. Works great, in fact, when used properly (and when you time sufficient loops
  23. and take some other stuff into account) you can create a routine which is
  24. accurate enough to tell you that instructions like 'Move.l d0,d0' take 2.00
  25. cycles on a 68030 (so it is accurate to about 1/100th of a CPU cycle -- I guess
  26. that beats counting rasterlines)
  27.  
  28. Grtz John
  29.  
  30. -----------------------------------------------------------------------
  31.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  32. -----------------------------------------------------------------------
  33. -- Via Xenolink 1.985B3, XenolinkUUCP 1.1
  34.